package com.tujia.lang3;

import observer.ChangeMessage;
import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * @author: feiwang_6
 * @create: 2019/5/12 10:42
 * @description:
 */
public class Lang3Test {
    public static void main(String[] args) {
        Integer[] array = {1, 2, 3, 4, 5};
        ArrayUtils.swap(array, 1, 3);
        Arrays.stream(array).forEach(System.out::println);
    }
}
